my solutions to various cs problems