Took psuedocode and made real code, added print statements