Implemented the main method of the BoggleServer class and added test cases to assert the correctness of the implementation.