Real-Time Graph-Based Path Planning For Autonomous Racecars