My code for AI course at PSU