Write Algorithm To Insert Element Into Array In Java