first submission

completed script for assignment