prints board from inside board class