Solution to ASS#1