Created Board class with printing function