addded rand.c a test for prog7 which accesses memory in a random way

AMEND: quick fix, changed a call to srand to a call to rand48, so it
actually accesses memory randomly
Merge branch 'master' of http://www.github.com/hitchiker42/my-code