made removeAt() return tuple; made randomSelect() more random