Coded a pile of python. Doesn't work yet.