added renderBoard method in Engine class