update Main

Main is working. Strings are parsing.
Next steps is to build heap.