Fixing do syntax
Adding main function
Compiling
Documenting file