implemented arraylist for arbitrary answer list size