The king can now move. Added other useful functions in Board