Implements Fixnum support on Generator

fix #198