Added check_empty function that checks and returns the array of empty cells in the present matrix of positions with list of the playable moves