version 1 commit

First version of the code.