Maxconway challenge 2 attempt

Hey, 
You guys still looking for an intern?
I've done challenge 2 in R here - is that cool? My python is kinda lacking.
visualize.html is the best file to look at.
Tell me if there's anything confusing.
Max
(conway.max1@gmail.com)