little fixes to PracticeMakesPerfect (added proper main() usage)