Completed meander.cs

Hopefully added all the code to meander.cs properly. Not checked yet.