added second boolean ||, added array method push, changed array return to retun only array and changed boolean return to return boolean