took pseudocode and created codes