attempted the assignment

attempted to complete the programming assignment