Solved filter perfect squares