This is the programming assignment2 of Olivia