finished binary morphology basic operations, not so clean