Fixed compiling errors, turtle is mostly complete