Changed behaviour of Flag.java to keep it centered (done by setting the delta to an even number).
Built up the ImageResize.java classed based on the Flag.java class.