Refactor Point and Board as static classes that manipulate ints.