Codes for CS193P Assignment