made board an array, refactored stuff

Made board an array and refactored stuff. Also added constructor for
board, so it will automatically take in all pieces in the scene

Made board part of GameState.

Added on hit functionality to Pharoah