completed solo challenge
finished pseudocode