what are three basic elements of plot