Basic code the outputs are needed

Not quite finshed