Fixed things

Answered Questions,
Made the code compile