Are lines 14 and 15 in findSlot supposed to be executed for each column, or just once over all? If the latter, then move them from where they are (inside the loop which is executed once per column) to a place where they will be executed only once.
Joined: Mar 12, 2012
Ah woops. That would account for it. Oh wow, what a foolish mistake. Dx
Seems to me you should just return when you've found the array entry you're looking for, instead of using those boolean flags. Some people don't approve of using "return" anywhere except at the end of the method, but I'm not one of those people. You will have noticed that the boolean flags can go wrong. However if you're writing programs for one of those people, then by all means stick with the boolean flags.