Completed solution for 100