made a* a separate class to clean up the code. check out the new player to see how it works