added farey sequence demo