New changes to the add method and connecting the chicken and myWindow
classes