Fortran Programmes For Solving Simple Problems