add setup script to fortran
fix all examples and add fortran solutions