modified character.scala to include position
updating a*