adding first .m file and solutions