Added Utility method to get input into fortran program