how to delete all the nodes from the list that are greater than the specified value? For example: List : 10->3->17->5->2->14->7 value: 9 output: 3->5->2-