add doc; changed and renamed print_validation
fix element alternation methods
fixed riboswitch iteration