Added node class. Takes in float, and returns same float.