Started work on plotting graphs from scratch