Update Board.java

SOOO CLOSE! The array indexes in okay moves are off. Plus there are some changes in checking the goal that had to be made due to bad keys and for simplification.