added displayBoard method, small formatting changes