hmm. lots of complicated code with bounds checking and that kind of shizzle?
sure but why not this?
Why not? Because you don't get to those concepts in the first semester of an Intro to Java programming class. No StringBuffers and no for-each iterators. At least not yet.