adding start of hill climbing algorithm