Added derivative test to PathTest.java

made sprite to always point to the path direction, added a mode which the sprite will be zig-zagging through the path.