prime, pair, perfect square calculation

Here we have a function that checks if items in a list are pair or
even. Another function that check if items in a list are prime. A
function that remove duplicates in a list. And a function that checks
if the number is a perfect square.