finished problem stream-adventure problem 3