worked on the generating intial store items and the buying function.