added basic Gomoku functions and invalid play prompt