[ADDED]: added solution for issue #5. Updated formatting of issue #8 styles.