Changing my approach slightly - getting rid of arraylist and moving to boolean[][]