Fixed spacing aroud {. Also added a static keyword to processWaypoints()
declaration.