Solution of Challenge

Here is my solution. I think, it should be clear enough https://github.com/Andreigr0/BeatBox/commit/fd030c7658062292d3651fcbc02548ebff7a0f7c