3 Functions manipulating arrays in Ruby. Wrote these for coursework in edX "Engineering Software as a Service"