Made some variable stuff and methods in Robot class