[py-2014] solution to alternating-generator added

Deadline: 27.03.2014 23:59