This Works and passes al tests though the grades are not up yet so i cannot tell you how well it follows UAF coding standards.

NOTE: If you are not a CS311 fall 2013 student, Dr Hartman grades homeworks really late, so chillax