Fixed the nullpointerexception, had to initialize the CurrentDirection
variable.