Somebody once told me how they coded his E36 318 key. Apparently it's something ridiculously easy like sticking it in turning it on and off/pressing a few buttons in a certain way and hey presto. Try searching for a guide or how to on doing it. There's nothing special in coding a key I don't think, just a certain sequence.