This code has an error. It is not creating bars to the expected height. Can you fix the problem? ** this is the fixed version with notes describing the process.