need to fix linking error

error in main when linking when making the executable