Initial Coded Version

This is the initial version of the code