(Algorithms1, week4) Bug fix for Board.java and adds Solver.java

Fixes bug in Board.java were neighbors were incorrectly calculated