Fixed turtle.detectUp and turtle.detectDown

Found that bug and fixed it.