board class and test class implemented adn main mehtond implemented