partB Done
Added comments