Add legal moves to parser