wrote code for Loop.hs again...testing