Just an assignment from coursera course. I had to make it public, but I'm not proud of it.