Completed code. Extracted Utilities class. Created Robot class.