Added code and an input file