Chunks of code I produced for various ruby assignments