Writeup - Most of the implementation has been added