Completed another toy problem