heuristic functions added

this public one is to be used...
private heuristic function will provide various heuristic functions. by changing them we can get different heuristic functions.