Added source code

Added text file containing the source code for the program and updated
readme accordingly