Update B12FinalProject.f90

Improved the format of the main program code to reduce the number of lines, should increase the speed of the program. Functions were added to the program to calculated the distance of data points read from a text file, using the Simpson 1/3 rule and the Simpson 3/8 rule.