working while loop
added for loop instead
Updated readme for hw