Defined GetPossibleMoves function

also added a few comments