Update Character.java

added getwidth and getheight