bhuyan_assignment3.r