code and plots added

Code is basically working now.