delivered code for FYS4150 projec1