Added naive path calculation and fixed spacing

Oh god why did I re-do indentation and make actual changes in the same PR.  I'm the worst.
what the prit 4