My code for the ift6266 course's project