Updated Color of the hotspot, Changed variable names into long meaningful ones, gave comments on what those arrays do
Made a generalizable solution to the bug fix #13. Instead of hard coding it, the new code ensures the same result.