Implement Queue with Array