Finalized class for homework 2

I now have the resource generator class working for any float input