Function to check if position on board is available
Function checkPosition returns true if position is available
Merged Board class