A two dimensional Heusler alloy model