Connected
3 3
#222 X 2 Y 2
Moved to 2 -1
Moved to 2 2
0 3 3 120 1 2 2 100 2 1 1 120
1 Pick 0
#222 X 2 Y 2 P 0
Moved to 2 2
Moved to 2 2
1 2 2 100 2 1 1 120
finding destination
destination = 3, 3
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:508)
	at java.util.ArrayList.remove(ArrayList.java:388)
	at Player.move(Player.java:107)
	at Environment.<init>(Environment.java:46)
	at Main.main(Main.java:18)

real	0m0.502s
user	0m0.340s
sys	0m0.030s
