Added main()

In src/code.cpp, added the ‘main()’ function.