my solution to a random challenge problem I did for the sake of always be coding