Source code of the first version

This is the source code of the first version