Generates list of moves