+ used memset for clr() => slightly faster. + added some comments + added reference output for this version