If they hang out on the glass underwater like that they could be planaria - a small flatworm that is harmless!