Created BoardPosition class.