Checked to ensure that all changes to make the code working are still in place. It is confirmed. This is a tested working version of the code. Added new header style for comments