fixed bug in which a indexoutofbounds exception was thrown if the boo
went over the board