Removed redundant code in response_controller; added function to rearrange questions based on responses received to response_helper