Added the complete code so far, because apparently only the readme showed up in the first commit.