Added algo.py for testing Astar algorithm with curses.