Program now compiled correcltly, ready for proper development