add factorial parser, got deleted for some reason