-Added code to determine what possible moves are available