Algorithms and data structures in F and Fortran