completed another spec and solution for a medium challenge