20130926-05

UVA457: use integer array to simulate.. java is hard to access and
manipulate every element.