Gravar-mail: Realistic behaviour simulation of a humanoid robot