Added advance method. Some changes in Character class.