Javascript Dynamically Create Class Python Coding Interview Practice