graph making started
Merge branch 'graphMaking'
refactored threshold, work on graphs was made