NASA coding challenge