fix JSLint issues
improve grid.findFirstOpenCell()

changed it from chaining map and indexOf to using find