Writing up pseudocode for project