Flexible algebras General nonassociative rings and algebras mathematics