Learning algorithms on packman agent