Sigmoid Interview Question

Write basic class functions to define a graph