Created position class, evaluates whether pet has reached treat