added pseudocode for group project.