Edited readme
Fixed algo, added generation to pop struct