assignment 2 - activity diagram