updated melkman algorithm pseudocode - considering omitting it in favor of
just having the actual code