Input operator

Made the input operator.  COmmented and tested.