Plots the data points X and y into a new figure
bug fix for submitting assignments
Compute sigmoid function