Ported the karel code to eclipse