Fixed some syntax errors

Still having linking error with the static int MAX_Y and MAX_X