initial commit of fortran version