Changed the pattern as well as the if statement to handle an error
that I was getting. also changed the multipiecemovement to make sure that
it could accept bounds check.