Completed problem twelve (inefficiently). WOrking on thirteen. not yet complete