reply to comment functionality tweaked

now uses an arraylist of submitted comments