Initial commit with complete code and compilation instructions