Worked on debugging A*.