pallandrom prolog asgn
majority prolog done