add assignment scripts

containing my answer to the assignments