Rocket Challenge 2

This competition is now closed, but we still welcome all attempts at this challenge!
Please send your code to greg@bodekerscientific.com and we'd be delighted to run and test your code, and let you know how you fared compared with others.