Solutions to SGU Online Judge problems