Fixed a_star.cpp for Xcode 6.0
Merge pull request #42 from jamesmintram/master

Fixed a_star.cpp for Xcode 6.0