work in progress on variable declaration rule
minor edits
small error with p_val and n resolved
a ton of fixes
Merge pull request #98 from yushan87/fixes

Fixes