Edited Programm for reading input file and fixing the phase
Please enter the commit message for your changes. Lines starting