Changing these to have the right .R extensions
Spelling error in the collisions variable. putting in the number of piling operations. Though I think this should change