Line and TurtlePanel Fixes
Bug fixing the back end and creating Junit tests.