Working through CPP lesson on inputs and streams