Import old code

Import the old code coded in high school