Two blocks on a string with a pulley mechanical energy problem