gramco.pro: fixed rep() so the tests all pass now.