homeworks for the coursera PGM assignment. Really just for my own purposes and if you are currently doing the course, please uphold the honor code.