worked on some codingbat problems