Adding code and readme file

Initial code submission