Fixed bug in a* from not initializing start and end nodes.