Mars robot challenge in Scala