Implementing A Queue With An Array In Math