Main Code Added

Main code included. Not enough code for working condition of program
though.