Quite frankly, IMO the way to tackle this is to research existing work ("prior art"), dig out any existing projects, and build on those using their language of choice.
One will find it far easier to learn a new programming language, particularly with the fairly strong type checking etc. that most languages have by now inherited from Pascal, than to try to disentangle the algorithms and replicate the code that several people have worked on for months or years.
MarkMLl