A Star heuristic search implemented using Java