Challenge Before Completed

This is the challenge given by Hack Reactor before being completed
entirely by me.