Fixed #57 by moving accepting/generating to P system definition section